<template>
<div>
  <h2>我是Test组件</h2>
  <h2>当前点击时，鼠标的坐标为，x：{{point.x}}，y：{{point.y}}</h2>
</div>
</template>

<script>
import usePoint from "@/hooks/usePoint";
    export default {
        name: "Test",
      setup(){
          let point=usePoint()

        return{
            point
        }
      }
    }
</script>

<style scoped>

</style>
